package com.lujianfei.recyclerview.entity;

public class ListItem {
    int type = 1;
    String title;
    String summary;
    int color;

    public ListItem(int type, int colorId,String title) {
        this.type = type;
        this.color = colorId;
        this.title = title;
    }

    public ListItem(String title, String summary) {
        this.title = title;
        this.summary = summary;
    }

    public ListItem(String title, String summary,int color) {
        this.title = title;
        this.summary = summary;
        this.color = color;
    }

    public ListItem(int type, String title, String summary) {
        this.type = type;
        this.title = title;
        this.summary = summary;
    }

    public ListItem(int type, String title, String summary,int color) {
        this.type = type;
        this.title = title;
        this.summary = summary;
        this.color = color;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }
}
